@echo off
rem Copy shared folder to the current project brefore building

set shared=..\..\..\ATSServer\src\ATS.Shared
set enums=..\..\..\ATS.Shared\ATS.Abstraction.Shared\Enums

if exist %shared% (
    echo Shared folder found
    xcopy %shared%\Dto\ .\Dto\ /E /Y
)

if exist %enums% (
    echo Enums folder found
    xcopy %enums%\EFrozenStatus.cs .\Enums\ /E /Y
    xcopy %enums%\EProductionStatus.cs .\Enums\ /E /Y
    xcopy %enums%\ETestProcessStatus.cs .\Enums\ /E /Y
)


exit /b 0